<script type="text/javascript">
var process_request = "<?php echo $this->_var['lang']['process_request']; ?>";
</script>
<div class="top-nav">
	<div class="body">
    	<?php 
$k = array (
  'name' => 'member_info',
);
echo $this->_echash . $k['name'] . '|' . serialize($k) . $this->_echash;
?>
        <ul class="topnavs">
        <?php $_from = $this->_var['navigator_list']['top']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'nav');$this->_foreach['nav_top_list'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['nav_top_list']['total'] > 0):
    foreach ($_from AS $this->_var['nav']):
        $this->_foreach['nav_top_list']['iteration']++;
?>
        <li<?php if (($this->_foreach['nav_top_list']['iteration'] == $this->_foreach['nav_top_list']['total'])): ?> style="background:none;"<?php endif; ?>><a href="<?php echo $this->_var['nav']['url']; ?>" <?php if ($this->_var['nav']['opennew'] == 1): ?> target="_blank" <?php endif; ?>><?php echo $this->_var['nav']['name']; ?></a></li>
        <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
        </ul>
    </div>
</div>
<div class="top-logo">
	<div class="body">
    	<a href="/" title="<?php echo $this->_var['shop_name']; ?>"><img src="themes/letphp/images/logo.gif" align="left" /></a>
        <img src="themes/letphp/images/tel.gif" align="right" />
    </div>
</div>
<div class="main-nav">
	<div class="body">
    	<ul class="mainnav">
        <li><a href="/" title="<?php echo $this->_var['lang']['home']; ?>" class="cur" id="HOMEA"><?php echo $this->_var['lang']['home']; ?></a></li>
        <?php $_from = $this->_var['navigator_list']['middle']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'nav');$this->_foreach['nav_middle_list'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['nav_middle_list']['total'] > 0):
    foreach ($_from AS $this->_var['nav']):
        $this->_foreach['nav_middle_list']['iteration']++;
?>
        <li><a href="<?php echo $this->_var['nav']['url']; ?>" <?php if ($this->_var['nav']['opennew'] == 1): ?>target="_blank" <?php endif; ?><?php if ($this->_var['nav']['active'] == 1): ?> class="cur"<?php endif; ?>><?php echo $this->_var['nav']['name']; ?></a></li>
        <?php if ($this->_var['nav']['active'] == 1): ?><script language="javascript">document.getElementById('HOMEA').className='';</script><?php endif; ?>
        <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
        </ul>
        <ul class="dnav">
        <li><a href="search.php?intro=new">新品</a></li>
        <li><a href="search.php?intro=best">精品</a></li>
        <li style="background:none;"><a href="search.php?intro=hot">热卖</a></li>
        </ul>
    </div>
</div>
<div class="body s-box">
	<div class="search-box">
    <form id="searchForm" name="searchForm" method="get" action="search.php" class="formbox">
    	<span class="fl"><input type="text" value="<?php echo $this->_var['search_keywords']; ?>" name="keywords" class="keyword" /></span>
        <span class="fl"><input type="submit" value="" class="submit" /></span>
    </form>
    </div>
    <?php if ($this->_var['searchkeywords']): ?>
    <div class="hot-tag-box">
    热搜：
    <?php $_from = $this->_var['searchkeywords']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'val');if (count($_from)):
    foreach ($_from AS $this->_var['val']):
?><a href="search.php?keywords=<?php echo urlencode($this->_var['val']); ?>"><?php echo $this->_var['val']; ?></a><?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
    </div>
    <?php endif; ?>
    <div class="main-cart">
    	<div class="fl"><?php 
$k = array (
  'name' => 'cart_info',
);
echo $this->_echash . $k['name'] . '|' . serialize($k) . $this->_echash;
?></div>
        <div class="fr"><a href="flow.php" title="去结算">&nbsp;</a></div>
    </div>
</div>